<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<a href="#" sec:authorize="hasAuthority('/user/query')">查询用户</a><br>
<a href="#" sec:authorize="hasAuthority('/user/delete')">删除用户</a><br>
<a href="#" sec:authorize="hasAuthority('/user/update')">修改用户</a><br>
<a href="#" sec:authorize="hasAuthority('/user/insert')">添加用户</a><br>
<a href="#" sec:authorize="hasAuthority('/user/export')">导出用户</a><br>
</body>
</html>